package cn.funeralobjects.ams.service;

import cn.funeralobjects.ams.BasicInfo;
import cn.funeralobjects.ams.entity.EProductRes;
import cn.funeralobjects.ams.model.ProductRes;
import cn.funeralobjects.common.service.EnableService;
import cn.funeralobjects.common.service.NameService;

/**
 * Service of Product
 *
 * @author FuneralObjects
 * Create date: 2020/5/25 4:59 PM
 */
public interface ProductResService extends BaseAmsService<ProductRes, EProductRes, Integer>, NameService<EProductRes, Integer>, EnableService<EProductRes, Integer> {
    String ENTITY_NAME = "ProductRes";

    /**
     * entity_name
     *
     * @return name
     */
    @Override
    default String getName() {
        return ENTITY_NAME;
    }

    /**
     * module name
     *
     * @return module name
     */
    @Override
    default String getModuleName() {
        return BasicInfo.MODULE_NAME;
    }

//    /**
//     * 绑定accessKey
//     *
//     * @param accessId accessId
//     * @param id       id
//     */
//    void bindOrUpdateAccessKey(Integer accessId,Integer productApiId, Integer id);
//
//    /**
//     * 解绑accessKey
//     *
//     * @param accessId accessId
//     * @param id       id
//     */
//    void unbindAccessKey(Integer accessId, Integer id);
}
